<txp:variable name="cmtpreview" value='<txp:comment_id />' />
<txp:variable name="cmtweb" value='<txp:comment_web />' />
<txp:variable name="validurl" value='<txp:rvm_substr length="7"><txp:comment_web /></txp:rvm_substr>'/>
<txp:if_variable name="validurl" value="http://">
<txp:variable name="fixedurl" value='<txp:comment_web />'/>
<txp:else/>
<txp:variable name="fixedurl" value='http://<txp:comment_web />'/>
</txp:if_variable>
<!-- step two: instant conditional -->
<txp:if_variable name="cmtpreview" value="0">
	<p>Please review your comment before submitting</p>
	<a name="cpreview"/>
<txp:else/>
	<div class="<txp:rah_replace from="http://" to=""><txp:rah_replace from="." to=""><txp:comment_web/></txp:rah_replace></txp:rah_replace>">
</txp:if_variable> 
<txp:if_variable name="cmtweb" value=""><!--no website-->
	<txp:comment_permlink anchor="1"><txp:glx_gravatar default="identicon"/></txp:comment_permlink>
<txp:else/>
	<a href="<txp:variable name="fixedurl"/>" rel='external nofollow' class="<txp:rah_replace from="http://" to=""><txp:rah_replace from="." to=""><txp:comment_web/></txp:rah_replace></txp:rah_replace>" ><txp:glx_gravatar default="identicon" /></a>
</txp:if_variable>
<span class="comment_author">
<txp:if_variable name="cmtweb" value="">
	<txp:comment_name link="0"/>
<txp:else/>
	<a href='<txp:variable name="fixedurl"/>' rel='external nofollow' class='url'><txp:comment_name link="0"/></a>
</txp:if_variable>
</span><br/> 
<span class="comment_meta"><txp:comment_time /></span> 
<div class="comments_entry"> 
<txp:comment_message />
<txp:if_variable name="cmtpreview" value="0"><div style="clear:both;"></div><txp:else/></div></txp:if_variable>
</div>
